package com.lhd.qd.module.system.dict.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "字典类型新增参数")
@Data
public class DictTypeSaveDTO {

    @NotBlank(message = "编码不能为空")
    @ApiModelProperty(value = "编码")
    private String code;

    @NotBlank(message = "名称不能为空")
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "备注")
    private String remark;

}
